<template>
  <div class="detail-container">
    <el-page-header @back="goBack" :title="'返回'">
      <template #content>
        <span class="text-large font-600 mr-3">社团详情页面 </span>
      </template>
    </el-page-header>
    <h3 class="detail-item">象棋社(白宇坤)</h3>
    <p class="detail-item item-time">创建时间：2021-05-27 19:01:26 &nbsp;&nbsp;&nbsp;&nbsp;点击量：625</p>
    <p class="detail-item item-introduce">
      棋类游戏是科学，文化，艺术，竞技融为一体的智力体育项目。象棋活动有助于少年儿童智力开发，培养和促进逻辑思维和想象能力，提高思维的敏捷性和严密性。同时又能培养学生顽强勇敢，坚毅沉着，机智灵活，大局观等优秀的一致品质，增进友谊，陶冶高雅情操。本着“育人为本，全面发展”的教育理念，我们继续开展象棋社团活动，为丰富学生课余生活，创建我校社团活动特色，发挥积极作用。
    </p>
    <p class="detail-item item-img">
      <img
        src="https://community-server.oss-cn-beijing.aliyuncs.com/2021-05-09/a7010bd3-73cb-4d78-842c-2d054d77d410111.jpg"
        alt="">
    </p>
    <div class="flex detail-item items-center justify-end"><el-button type="primary">点击报名</el-button></div>
    <div class="flex  items-center justify-end item-next">
      <span>上一个</span>
      <el-link type="primary" link>志愿者爱好协会</el-link>
      <span>下一个</span>
      <el-link type="primary" link>街舞社</el-link>
    </div>
  </div>
</template>
<script lang="ts" setup>
import router from '@/router';
const goBack = () => {
  router.go(-1)
}
</script>

<style lang="scss" scoped>
.detail-container {
  width: 80%;
  min-height: 45rem;
  background-color: #fff;
  padding: 2rem;
  color: #303133;

  .detail-item {
    margin: 1.4rem 0;
  }

  h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
  }

  .item-time {
    color: #808080;
    font-size: 1.2rem;
    text-align: center;
  }

  .item-introduce {
    text-indent: 2em;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 3rem;
  }

  .item-img {
    width: 100%;
    text-align: center;

    img {
      width: 50%;
    }
  }
  .item-next{
    span{
      margin:0 1rem;
      font-size: 1.4rem;
    }
  }
}
</style>
